package com.jueling.culture.support.annotation;



import com.jueling.culture.support.enums.AuthorityCodeEnum;

import java.lang.annotation.*;

/**
 * @author: linp
 * @time: 2019/6/12 18:28
 */
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequiredPermission {
    AuthorityCodeEnum authorityCodeEnum();
    boolean view() default false;
    boolean edit() default false;
}
